package com.ruoyi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 停车场计费规则对象 zhwy_rule
 * 
 * @author ruoyi
 * @date 2024-05-07
 */
//
//
public class ZhwyRule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 规则名 */
    @Excel(name = "规则名")
    private String name;

    /** 免费分钟 */
    @Excel(name = "免费分钟")
    private Long freeMin;

    /** 首段收费时间 */
    @Excel(name = "首段收费时间")
    private Long firstMin;

    /** 首段收费金额 */
    @Excel(name = "首段收费金额")
    private Long firstMoney;

    /** 超过首段间隔时间 */
    @Excel(name = "超过首段间隔时间")
    private Long afterStepMin;

    /** 超过首段收费金额 */
    @Excel(name = "超过首段收费金额")
    private Long afterStepMoney;

    /** 尾段开始时间 */
    @Excel(name = "尾段开始时间")
    private Long lastMin;

    /** 尾段间隔时间 */
    @Excel(name = "尾段间隔时间")
    private Long lastStepMin;

    /** 尾段间隔收费 */
    @Excel(name = "尾段间隔收费")
    private Long lastStepMoney;

    /** 24小时收费上限金额 */
    @Excel(name = "24小时收费上限金额")
    private Long limitMoney;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setFreeMin(Long freeMin) 
    {
        this.freeMin = freeMin;
    }

    public Long getFreeMin() 
    {
        return freeMin;
    }
    public void setFirstMin(Long firstMin) 
    {
        this.firstMin = firstMin;
    }

    public Long getFirstMin() 
    {
        return firstMin;
    }
    public void setFirstMoney(Long firstMoney) 
    {
        this.firstMoney = firstMoney;
    }

    public Long getFirstMoney() 
    {
        return firstMoney;
    }
    public void setAfterStepMin(Long afterStepMin) 
    {
        this.afterStepMin = afterStepMin;
    }

    public Long getAfterStepMin() 
    {
        return afterStepMin;
    }
    public void setAfterStepMoney(Long afterStepMoney) 
    {
        this.afterStepMoney = afterStepMoney;
    }

    public Long getAfterStepMoney() 
    {
        return afterStepMoney;
    }
    public void setLastMin(Long lastMin) 
    {
        this.lastMin = lastMin;
    }

    public Long getLastMin() 
    {
        return lastMin;
    }
    public void setLastStepMin(Long lastStepMin) 
    {
        this.lastStepMin = lastStepMin;
    }

    public Long getLastStepMin() 
    {
        return lastStepMin;
    }
    public void setLastStepMoney(Long lastStepMoney) 
    {
        this.lastStepMoney = lastStepMoney;
    }

    public Long getLastStepMoney() 
    {
        return lastStepMoney;
    }
    public void setLimitMoney(Long limitMoney) 
    {
        this.limitMoney = limitMoney;
    }

    public Long getLimitMoney() 
    {
        return limitMoney;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("freeMin", getFreeMin())
            .append("firstMin", getFirstMin())
            .append("firstMoney", getFirstMoney())
            .append("afterStepMin", getAfterStepMin())
            .append("afterStepMoney", getAfterStepMoney())
            .append("lastMin", getLastMin())
            .append("lastStepMin", getLastStepMin())
            .append("lastStepMoney", getLastStepMoney())
            .append("limitMoney", getLimitMoney())
            .toString();
    }
}
